function show_1(){
    var show1 = document.getElementById("qrcode");
    var show2= document.getElementById("account");
    var a1 = document.getElementById("a_qrcode");
    var a2 = document.getElementById("a_account");
    if(show1.style.display!='block'){
        show1.style.display = 'block';
        show2.style.display='none';
        a1.style.fontWeight='bold';
        a1.style.color='#e4393c';
        a2.style.fontWeight='normal';
        a2.style.color='#666';
    }

}

function show_2(){
    var show1 = document.getElementById("qrcode");
    var show2 = document.getElementById("account");
    var a1 = document.getElementById("a_qrcode");
    var a2 = document.getElementById("a_account");
    if(show2.style.display!='block'){
        show1.style.display = 'none';
        show2.style.display = 'block';
        a2.style.fontWeight='bold';
        a2.style.color='#e4393c';
        a1.style.fontWeight='normal';
        a1.style.color='#666';
    }
}
function move_1(){
    $("#text").focus(function(){
        $("#avatar").css("background-position","0 -48px");
    });
    $("#text").blur(function(){
        $("#avatar").css("background-position","0 0")
    });
}

function move_2(){
    $("#password").focus(function(){
        $("#lock").css("background-position","-48px -48px");
    });
    $("#password").blur(function(){
        $("#lock").css("background-position","-48px 0")
    });
}